package cn.ronghuanet.org.domain;

import cn.ronghuanet.base.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "员工类")
public class Employee extends BaseDomain {

    @ApiModelProperty("员工名称")
    private String username;

    @ApiModelProperty("员工电话")
    private String phone;

    @ApiModelProperty("员工邮箱")
    private String email;

    @ApiModelProperty("盐值")
    private String salt;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("员工状态 - 1启用，0禁用")
    private Integer state;

    @ApiModelProperty("所属部门ID")
    private Long departmentId;

    @ApiModelProperty("登录信息ID")
    private Long logininfoId;

    @ApiModelProperty("店铺ID")
    private Long shopId;
}
